package com.xiaoke.mapper;

import com.xiaoke.entity.GoodsPrice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface GoodsPriceMapper {
    int deleteByPrimaryKey(String id);

    int insert(GoodsPrice record);

    int insertSelective(GoodsPrice record);

    GoodsPrice selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(GoodsPrice record);

    int updateByPrimaryKey(GoodsPrice record);

    List<GoodsPrice> findByGoods(String goodsId);

    List<Map<String,Object>> findByIds(String... id);
}